using System;
using System.Collections.Generic;
using System.Text;

using Entities;

namespace IDAL
{
    public interface ICategoryDAO
    {
            IList<CategoryInfo> GetAll();

            CategoryInfo GetByID(string categoryID);

            IList<CategoryInfo> GetByWareHouseID(string wareHouseID);

            bool Insert(CategoryInfo cate);

            bool Update(CategoryInfo cate);

            bool Delete(CategoryInfo cate);
    }
}
